/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.kleintjes.question3.plk.obeys.model;

/**
 * @author Administrator
 */

public class Student{
    private long studentNumber;
    private int yearOfStudy;
    private Person personalInfo = new Person();

    public String getAddress() {
        return personalInfo.getAddress();
    }

    public void setAddress(String address) {
        personalInfo.setAddress(address);
    }

    public String getContactNumber() {
        return personalInfo.getContactNumber();
    }

    public void setContactNumber(String contactNumber) {
        personalInfo.setContactNumber(contactNumber);
    }

    public String getIdNumber() {
        return personalInfo.getIdNumber();
    }

    public void setIdNumber(String idNumber) {
        personalInfo.setIdNumber(idNumber);
    }

    public String getName() {
        return personalInfo.getName();
    }

    public void setName(String name) {
        personalInfo.setName(name);
    }

    public String getSurname() {
        return personalInfo.getSurname();
    }

    public void setSurname(String surname) {
        personalInfo.setSurname(surname);
    }

    public long getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(long studentNumber) {
        this.studentNumber = studentNumber;
    }

    public int getYearOfStudy() {
        return yearOfStudy;
    }

    public void setYearOfStudy(int yearOfStudy) {
        this.yearOfStudy = yearOfStudy;
    }
    
}   
